package com.fang.networkdisk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fang.common.common.CommonPage;
import com.fang.networkdisk.entity.bo.UserRoleRelationBo;
import com.fang.networkdisk.entity.po.TbNetDisUserRoleRelation;

/**
 * <p>
 * 用户角色关联关系表 服务类
 * </p>
 *
 * @author Bernie_fang
 * @since 2024-12-07
 */
public interface TbNetDisUserRoleRelationService extends IService<TbNetDisUserRoleRelation> {

    CommonPage queryUserRoleRelation(UserRoleRelationBo userRoleRelationBo);

    TbNetDisUserRoleRelation findUserRoleRelation(UserRoleRelationBo userRoleRelationBo);

    int addUserRoleRelation(UserRoleRelationBo userRoleRelationBo);

    int updateUserRoleRelationById(UserRoleRelationBo userRoleRelationBo);

    int deleteUserRoleRelationById(Integer id, String authorId);

}
